<h2>Create Bundle</h2>
<p class="desc">Bundles are created based upon existing <code>.properties</code>
files. Please also provide additional information about the bundle to help 
translators understand its purpose.</p>

<form action="<?php echo $this->url() ?>" enctype="multipart/form-data" method="post">

<?php if(isset($this->errors)): ?>
<?php echo $this->partial('error/form.phtml', array('errors' => $this->errors)); ?>
<?php endif; ?>

<label for="name">Name</label>
<small>Intended for translators.</small><br />
<input type="text" name="name" id="name" class="text" value="<?php echo $this->escape($this->name) ?>" style="width: 50%;" />

<label for="alias">Alias</label>
<small>Simplified name of this bundle. Just letters, numbers and - allowed.
Used by scripts for further processing of this bundle. Could be the original filename,
without extension, for example.</small><br />
<input type="text" name="alias" id="alias" class="text" value="<?php echo $this->escape($this->alias) ?>" style="width: 25%;" />

<label for="description">Description</label>
<small>Description of this bundle for translators.</small>
<textarea name="description" id="description"><?php echo $this->escape($this->description)?></textarea>

<label for="file">Original <code>.properties</code> File</label>
<small>The file which is used to generate the initial entries of this bundle.</small><br />
<input type="file" name="file" id="file" />

<div style="text-align: center; margin-top: 1em;">
	<input type="submit" value="Proceed to Next Step" class="fancybutton emphasized" />
	<br />
	<small>(In the next step you can choose how existing languages should treat this
	new bundle.)</small> 
</div>
</form>